/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package schedulingScheme;

/**
 *
 * @author Andrzej
 */
public class BatteryExhaustedException extends Exception {

    private SensorNode sensorNode;

    public SensorNode getSensorNode() {
        return sensorNode;
    }
    

    public BatteryExhaustedException(SensorNode s) {
        this.sensorNode = s;
    }
}
